﻿//// See https://aka.ms/new-console-template for more information


//using ConsoleApp;

//new MethodBoundaryAspectTest().MyProperty();

Console.WriteLine("安装包的方式");

//PublicMethodAttributeAspectMethods.PublicMethod();
////var model = new PropertyChangeTrackingTest();
////model.IntVal1 = 1;

////if (((IPropertyChangeTrackable)model).ChangeProperties?.Any() == true)
////{
////    foreach (var item in ((IPropertyChangeTrackable)model).ChangeProperties.Keys)
////    {
////        Console.WriteLine("change field: {0}", item);
////    }
////}


////var model2 = new PropertyChangeTrackingTest2();
////model2.IntVal1 = 1;

////if (((IPropertyChangeTrackable)model2).ChangeProperties?.Any() == true)
////{
////    foreach (var item in ((IPropertyChangeTrackable)model2).ChangeProperties.Keys)
////    {
////        Console.WriteLine("change field: {0}", item);
////    }
////}


//Console.ReadKey(false);
